﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KingOfCSharp.iHunter
{
    /// <summary>
    /// The information of a channel
    /// </summary>
    public struct ChannelInfo
    {
        /// <summary>
        /// Channel Guid
        /// </summary>
        public Guid Guid;

        /// <summary>
        /// Channel Provider Guid
        /// </summary>
        public Guid ProviderGuid;

        /// <summary>
        /// Channel Folder Guid
        /// </summary>
        public Guid FolderGuid;

        /// <summary>
        /// Channel Settings
        /// </summary>
        public string Settings;

        /// <summary>
        /// Channel Name
        /// </summary>
        public string Name;

        /// <summary>
        /// Update Time
        /// </summary>
        public DateTime UpdateTime;


        /// <summary>
        /// Whether refresh existing items when updating this channel.
        /// If this field is null, means using global settings
        /// </summary>
        public bool? RefreshExists;
    }
}
